<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body {
            background-image: url(管理页面背景图.jpg);
            background-size: 100%;
            background-repeat: no-repeat;
            position: relative;
        }

        nav {
            float: left;
            width: 920px;
            height: 40px;
            position: absolute;
            margin: 100px 0 0 0;
            padding: 0;
        }

        nav ul {
            float: left;
            margin: 0px;
            padding: 0 0 0 0;
            width: 920px;
            list-style: none;
        }

        nav ul li {
            margin-bottom: 70px;
            margin-left: 55px;
            margin-top: 20px;
        }

        nav ul li a {

            padding: 11px 20px;
            font-size: 22px;
            text-align: center;
            text-decoration: none;
            background: center right no-repeat;
            color: #fff;
            font-family: Tahoma;
            outline: none;

            z-index: 1;
        }

        nav li a:hover {
            color: #ffc600;
        }


        .zzz > input {
            height: auto;
            display: block;
            border-spacing: 50px 80px;
            padding: 10px 10px;
            border: 1px solid rgba(0, 0, 0, 0.3);
            border-radius: 5px 5px 0 0;
            text-align: center;
            position: relative;
            left: 450px;
            top: 300px;

            border: 3px solid #302a34;
        }




        .button1 {
            -webkit-transition-duration: 0.4s;
            transition-duration: 0.4s;
            padding: 16px 32px;
            text-align: center;
            background-color: white;
            color: black;
            font-size: 18px;
            border: 2px solid #4CAF50;
            border-radius:5px;
            width: 200px;
            position: absolute;
            top: 170px;
            left: 950px;
            font-size: 21px;

        }
        .button1:hover {
            background-color: #4CAF50;
            color: white;
        }
        .button {
            -webkit-transition-duration: 0.4s;
            transition-duration: 0.4s;
            padding: 16px 32px;
            text-align: center;
            background-color: white;
            color: black;
            font-size: 18px;
            border: 2px solid #4CAF50;
            border-radius:5px;
            width: 200px;
            position: absolute;
            top: 170px;
            left: 450px;
            font-size: 21px;
        }
        .button:hover {
            background-color: #4CAF50;
            color: white;
        }

        #tabel{
            z-index: 999;
            border: 1px solid white;
            position: absolute;
            left: 850px;
            width: 30%;
            top: 280px;
        }
        #tj{
            margin-top: 30px;
        }
    </style>
    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
    <!--引入vue-->
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
    <!--引入axios-->
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
</head>

<body>
<div class="row" id="manage">
    <div class="col-md-3">
        <header>
            <nav>
                <ul >
                    <li><a href="admin.html" title="菜品中心">菜品中心</a></li>
                    <li><a href="admin_banner.html" title="调轮播图" >调轮播图</a></li>
                    <li><a href="admin_news.html" title="新闻管理" >新闻管理</a></li>
                    <li><a href="#" title="招聘信息" >暂无功能</a></li>
                    <li><a href="#" title="暂无功能" >暂无功能</a></li>
                    <li><a href="#" title="暂无功能" >暂无功能</a></li>
                </ul>
            </nav>
        </header>


    </div>
    <div class="col-md-9">


        <form class="zzz">
            <input type="file" style="color: #ffc600;width: 170px" name="picFile">
            <input id="tj" type="button" value="提交"  @click.prevent="addfood()"><br>
        </form>
    </div>
    <div ><button class="button"><b>添加图片</b></button></div>
    <div ><button class="button1"><b>插图列表</b></button></div>

    <table  width="70%" style="text-align:center" id="tabel">
        <caption style="color: #0099CC">轮播列表</caption>
        <tr>
            <th style="color: #6699CC">序号</th>
            <th style="color: #6699CC">轮播图</th>
            <th style="color: #6699CC">操作</th>
        </tr>
        <tr v-for="(b,i) in banner">
            <td style="color: #c8cccf">{{i+1}}</td>
            <td><img :src="b.url" width="80px" alt=""></td>
            <td><a href="#" @click="del(b.id)" style="color: red;text-decoration-line: none">删除</a></td>
        </tr>
    </table>
</div>

<script src="js/admin.js"></script>
<script src="js/banner1.js">
</script>
</body>

</html>